* {
    margin: 0;
    padding: 0;
}

#main {
    width: 40%;
    margin: auto;
}

#main .tab_title ul {
    display: flex;
    list-style: none;
    margin-bottom: 25px;
    width: 60%;
    background-color: #ddd;
    border-radius: 20px;
}

.tab_title li {
    width: 33.333333333%;
    font-size: 16px;
    padding: 5px 10px;
    color: #333;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
}

.tab_title .current {
    background-color: tomato;
    color: cornsilk;
}

.goodsInfo {
    display: none;
    width: 100%;
    margin: 0 auto;
}

.goodsInfo ul {
    width: 100%;
    list-style: none;
}

.goodsInfo ul li {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
    width: 100%;
    height: 100px;
    border: 1px solid gray;
    background-color: rgb(250, 250, 250);
}

.goodsInfo ul li img {
    width: 100px;
    height: 85%;
}

.goodsInfo ul li a {
    color: rgb(50, 50, 50);
}

.goodsInfo ul li a:hover {
    color: orange;
}

.tn-box {
    width: 145px;
    height: 30px;
    line-height: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -60px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgb(145, 145, 145);
    background: whitesmoke;
    display: none;
}

.tn-box-active {
    display: block;
    animation: fadeOut 1s linear forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
        transform: translateY(0px);
    }
    99% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 0;
    }
}

.tn-box div {
    float: left;
    height: 100%;
    width: 40px;
    text-align: center;
}

.upload {
    position: relative;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-left: 50px;
    border-radius: 100%;
}

.upload div {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(112, 112, 119);
    opacity: 0.7;
    color: white;
    border-radius: 100%;
}

.upload:hover > div {
    display: block;
}

.upload input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.btn {
    margin: 0 20px;
}